<?php

namespace app\shop\controller;

use app\common\controller\PCBase;
// use app\common\controller\DBase;//测试专用
use app\shop\logic\DailyEstimateLogic;
use think\facade\Db;
use Throwable;
use app\common\library\Upload;

class DailyEstimate extends PCBase
{
    /**
     * 模型
     * @var object
     * @phpstan-var DailyEstimateModel
     */
    protected object $model;

    public function initialize(): void
    {
        parent::initialize();
    }

    /**
     * index
     * @throws Throwable
     */
    public function index()
    {
        $params     = $this->request->post();
        $DailyEstimateLogic = new DailyEstimateLogic();
        return $DailyEstimateLogic->index($params);
    }
}
